﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:od="http://opendope.org/xpaths" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://opendope.org/xpaths" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="xpaths">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" name="xpath">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="dataBinding">
                <xs:complexType>
                  <xs:attribute ref="od:xpath" use="required" />
                  <xs:attribute ref="od:storeItemID" use="required" />
                  <xs:attribute ref="od:prefixMappings" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute ref="od:id" use="required" />
            <xs:attribute ref="od:questionID" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:attribute name="id" type="xs:ID" />
  <xs:attribute name="questionID" type="xs:NCName" />
  <xs:attribute name="xpath" type="xs:string" />
  <xs:attribute name="storeItemID" type="xs:string" />
  <xs:attribute name="prefixMappings" type="xs:string" />
</xs:schema>